<script type="text/javascript" src="/js/fancybox/jquery.mousewheel.js"></script>
<script type="text/javascript" src="/js/fancybox/jquery.fancybox.js"></script>
<link rel="stylesheet" type="text/css" href="/js/fancybox/jquery.fancybox.css" media="screen" />
{literal}
<script>
    $(document).ready(function(){
        $("a[rel='canshow']").fancybox({
            'transitionIn'		: 'none',
            'transitionOut'		: 'none',
            'titlePosition' 	: 'over',
            'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
                return '<span id="fancybox-title-over" style="font-family:Microsoft YaHei"> ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
            }
        });
        
    })
</script>
{/literal}
<div class="contentborder">
    <div class="c_h">{$selfaname}</div>
    <div class="photolist">
        <ul>
            {foreach from=$photos item=v}
            <li>
                <div><a href="{$v.path}" rel="canshow" title="{$v.describe}">
                    <img width="135" height="120" src="{$v.thumb}"/>
                    <p>{$v.describe}</p></a>
                </div>
            </li>
            {/foreach}
        </ul>
        <div class="clear"></div>
    </div>
    <div class="albuminfo">
        <h2>相册信息</h2>
        <span class="pic">
            <img width="135" height="120" src="{$album.cover}"/>
        </span>
        <p><strong>{$album.name}</strong></p>
        <p><span>描述:</span>{$album.describe}</p>
        <p><span>创建时间：</span>{$album.createtime}</p>
    </div>
    <div class="clear"></div>
    <br/>
</div>